package org.springblade.modules.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.springblade.modules.admin.entity.PlanHistoryImage;
import org.springblade.modules.admin.vo.image.by.ByPlanHistoryImgVO;

import java.util.List;

public interface PlanHistoryImageMapper extends BaseMapper<PlanHistoryImage> {

    List<PlanHistoryImage> selectPlanHistoryImagePage(IPage<PlanHistoryImage> page, @Param("entity") PlanHistoryImage entity);

    List<PlanHistoryImage> selectImageList(@Param("entity") PlanHistoryImage entity);

	PlanHistoryImage selectDetail(@Param("id") Long id,@Param("url") String url);

    List<PlanHistoryImage> selectListAi(@Param("startDate") String startDate,@Param("endDate") String endDate);

    List<ByPlanHistoryImgVO> selectByHistoryImgList(@Param("startDate") String startDate,@Param("endDate") String endDate);

	List<ByPlanHistoryImgVO> selectBySignHistoryImgList(@Param("startDate") String startDate,@Param("endDate") String endDate);

	List<ByPlanHistoryImgVO> selectCallBackImgList(@Param("startDate") String startDate,@Param("endDate") String endDate);

    Integer selectPageCount(@Param("entity") PlanHistoryImage entity);

}
